<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../jquery-3.3.1.min.js"></script>
    <style>
        p {
            font-size: 50px;
            font-weight: 25px;
        }
    </style>
</head>

<body>
    <p id="ttime"></p>
    <script>
        function update() {
            var da = new Date();
            $("#ttime").html(
                da.getFullYear() + "年" + da.getMonth() + "月" + da.getDate() + "日" + da.getHours() + "时" + da.getMinutes() + "分" + da.getSeconds() + "秒"
            );
            setTimeout("update();", 1000);
        }
        update();
    </script>
</body>

</html>